<?php
session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
        <title>Blog</title>
    </head>
    <body>
        <h1>Blog</h1>
        <div>


        </div>
        Login:
        <?php
            if(!isset($_GET['error'])){
                echo " u bent niet ingelogd.";
            } else { 
                echo "loginaam of wachtwoord onjuist, probeer het opnieuw.";
            }
        ?>
        <br />
        <br />
        <form name="form1" action="login_controller.php" method="post">
        <table>
            <tr><td>Gebruikersnaam: </td><td><input type="text" name="username" maxlength="30"></td></tr>
            <tr><td>Wachtwoord: </td><td><input type="password" name="password" maxlength="16"></td></tr>
            <tr><td></td><td><input type="submit" value="Login!"></td></tr>
        </table>
        </form>

    </body>

</html>


